var that
export default {
    data () {
        return this.datainit({
            list:[]
        })
    },

    mounted: function () {
        that = this
        this.id = this.$route.query.id
        this.check()

    },

    methods: {
        user_init:function(){
            that.$post("api/group_go/lists",null,function (data) {
                that.list=data;
            })
        },
        prefinish:function (id) {
            that.$post("api/group_go/prefinish",{id:id},function (data) {
                that.user_init()
            })
        },
        precancel:function (id) {
            that.$post("api/group_go/precancel",{id:id},function (data) {
                that.user_init()
            })
        }

    },
}